/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelBeans;

import Classes.DatabaseService;
import Users.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author xiph
 */
@ManagedBean
@RequestScoped
public class UsersModelBean extends Users implements Serializable {

	/** Creates a new instance of UsersModelBean */
	public UsersModelBean()
	{
		user = new ArrayList<User>();
		user = DatabaseService.fetchUsers().getUser();
	}
}
